flaw-visual-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.Visual.Geometry.Vertex

Contents

Description

 
Synopsis

Attributes

class HasWeightsBonesAttributes v where Source #

Class of vertex having 4 bones and weights for skeletal animation.

Methods

vertexWeightsAttribute :: v -> (Int, AttributeFormat Float4) Source #

Get offset and format of weights attribute.

vertexBonesAttribute :: v -> (Int, AttributeFormat Word32_4) Source #

Get offset and format of bones attribute.

vertexAttribute :: OfAttributeType a => Int -> Int -> (Int, AttributeFormat a) -> Program (Node a) Source #

Create attribute from pair (offset, format) provided with slot and divisor.

Predefined vertices

Predefined Collada vertices

data VertexP Source #

Constructors

VertexP 

data VertexPN Source #

Instances
Eq VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Ord VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Show VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Storable VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasNormalAttribute VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasPositionAttribute VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

ColladaVertex VertexPN Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

data VertexPT Source #

Instances
Eq VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Ord VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Show VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Storable VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasTexcoordAttribute VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasPositionAttribute VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

ColladaVertex VertexPT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

data VertexPNT Source #

Instances
Eq VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Ord VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Show VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Storable VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasTexcoordAttribute VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasNormalAttribute VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasPositionAttribute VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

ColladaVertex VertexPNT Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

data VertexPNTWB Source #

Instances
Eq VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Ord VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Show VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

Storable VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasWeightsBonesAttributes VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasTexcoordAttribute VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasNormalAttribute VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

HasPositionAttribute VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex

ColladaVertex VertexPNTWB Source # 
Instance details

Defined in Flaw.Visual.Geometry.Vertex