vvopensource
|
This C struct describes the basic characteristics of a VVBuffer's internal GL properties. More...
#include <VVBuffer.h>
Data Fields | |
VVBufferType | type |
what kind of buffer (what kind of GL resource) this holds | |
GLuint | target |
GL_TEXTURE_RECTANGLE_EXT by default, sometimes GL_TEXTURE_2D or GL_RENDERBUFFER_EXT. 0 if not used. | |
VVBufferIntFormat | internalFormat |
the format in which the pixel data is stored in opengl; usually RGBA8 | |
VVBufferPixFormat | pixelFormat |
the pixel format; usually BGRA | |
VVBufferPixType | pixelType |
the type of data in the pixel format; usually U_Int_8888_Rev | |
VVBufferCPUBack | cpuBackingType |
the CPU backing type | |
VVBufferGPUBack | gpuBackingType |
the GPU backing type | |
GLuint | name |
the actual name (identifier) of GL resource this holds | |
BOOL | texRangeFlag |
if YES, it's a texture range (where appropriate) | |
BOOL | texClientStorageFlag |
if YES, the texture was created with GL_UNPACK_CLIENT_STORAGE_APPLE set to TRUE: this will prevent OpenGL from copying the texture data into the client, but you have to keep a ptr to the original data around until the texture is no longer in use! | |
GLuint | msAmount |
the number of multisamples (where appropriate- only applies to renderbuffers- 0 by default) | |
unsigned long | localSurfaceID |
if 0, the buffer doesn't have an associated IOSurfaceRef; otherwise the surfaceID of the local surface! | |
This C struct describes the basic characteristics of a VVBuffer's internal GL properties.