Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Buffer = Buffer {
- resource :: !(Resource Buffer_)
- status :: !(IORef BufferStatus)
- viewAllowedMappings :: !AccessFlags
- viewSize :: !Int
- ordIndex :: !Unique
- data BufferStatus = BufferStatus {}
- newtype Buffer_ = Buffer_ GLuint
- data AccessFlags
- data MapFlag = UnSynchronized
Documentation
Buffer data type.
Buffer | |
|
data AccessFlags Source
Describes a style of mapping.
ReadAccess | The mapping can be read from. |
WriteAccess | The mapping can be written to. |
ReadWriteAccess | Both reading and writing can be done. |
NoAccess | No access; you cannot map the buffer at all after creation. |