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

Graphics.LambdaCube.HardwareIndexBuffer

Documentation

class HardwareBuffer a => HardwareIndexBuffer a whereSource

Methods

getIndexTypeSource

Arguments

:: a 
-> IndexType

Get the type of indexes used in this buffer

getNumIndexesSource

Arguments

:: a 
-> Int

Get the number of indexes in this buffer

getIndexSizeSource

Arguments

:: a 
-> Int

Get the size in bytes of each index