lambdacube-engine-0.2.4: 3D rendering engine written entirely in Haskell

Safe HaskellSafe-Infered

Graphics.LambdaCube.GpuProgram

Documentation

data GpuProgram p => GpuProgramDescriptor p Source

Constructors

GpuProgramDescriptor 

Fields

gpdName :: String
 
gpdType :: GpuProgramType

The type of the program

gpdFilename :: String

The name of the file to load source from (may be blank)

gpdSyntaxCode :: String

Syntax code e.g. arbvp1, vs_2_0 etc

gpdAttach :: [String]
 
gpdSkeletalAnimation :: Bool

Does this (vertex) program include skeletal animation?

gpdMorphAnimation :: Bool

Does this (vertex) program include morph animation?

gpdPoseAnimation :: Int

Does this (vertex) program include pose animation (count of number of poses supported)

gpdVertexTextureFetch :: Bool

Does this (vertex) program require support for vertex texture fetch?

gpdNeedsAdjacencyInfo :: Bool

Does this (geometry) program require adjacency information?

gpdDefaultParams :: GpuProgramParameters

The default parameters for use with this object

gpdGpuProgram :: Maybe p