Cocos2d-x
4.0.0
|
Command used to render one or more Triangles, which is similar to QuadCommand. More...
Classes | |
class | Buffer |
Used to store vertex and index data data. More... | |
class | CommandBuffer |
Store encoded commands for the GPU to execute. More... | |
struct | StencilDescriptor |
Stencil descriptor. More... | |
struct | DepthStencilDescriptor |
Depth and stencil descriptor. More... | |
class | DepthStencilState |
Store Depth and stencil status. More... | |
class | Device |
New or create resources from Device. More... | |
class | DeviceInfo |
Used to query features and implementation limits. More... | |
class | BufferManager |
A static class to manage BufferMTL Schedule next available buffer at the beginning of frame for the render pass. More... | |
class | BufferMTL |
Used to store vertex and index data data. More... | |
class | CommandBufferMTL |
Store encoded commands for the GPU to execute. More... | |
class | DepthStencilStateMTL |
A class represent a depth/stencil test status. More... | |
class | DeviceInfoMTL |
Used to query features and implementation limits. More... | |
class | DeviceMTL |
Create resources from MTLDevice. More... | |
class | ProgramMTL |
A metal Program. More... | |
class | RenderPipelineMTL |
Create and compile a new MTLRenderPipelineState object synchronously. More... | |
class | ShaderModuleMTL |
To Create a vertex or fragment shader. More... | |
class | TextureMTL |
A 2D texture. More... | |
class | TextureCubeMTL |
A texture cube. More... | |
class | Utils |
create and manager default depth and stencil attachment. More... | |
class | BufferGL |
Store vertex and index data. More... | |
exception | CommandBufferGL |
Store encoded commands for the GPU to execute. More... | |
class | DepthStencilStateGL |
Set depth and stencil status to pipeline. More... | |
class | DeviceGL |
Use to create resoureces. More... | |
class | DeviceInfoGL |
Used to query features and implementation limits. More... | |
struct | AttributeInfo |
Store attribute information. More... | |
class | ProgramGL |
An OpenGL program. More... | |
class | RenderPipelineGL |
Set program and blend state. More... | |
class | ShaderModuleGL |
Create and compile shader. More... | |
struct | TextureInfoGL |
Store texture information. More... | |
class | Texture2DGL |
A 2D texture. More... | |
class | TextureCubeGL |
Texture cube. More... | |
class | Program |
A program. More... | |
class | ProgramCache |
Cache and reuse program object. More... | |
struct | RenderPassDescriptor |
Store values about color, depth and stencil attachment. More... | |
class | RenderPipeline |
Render pipeline. More... | |
struct | RenderPipelineDescriptor |
Store values about pipeline. More... | |
class | ShaderCache |
Create and reuse shader module. More... | |
class | ShaderModule |
Create shader. More... | |
struct | TextureDescriptor |
Store texture description. More... | |
class | TextureBackend |
A base texture. More... | |
class | Texture2DBackend |
A 2D texture. More... | |
class | TextureCubemapBackend |
A cubemap texture. More... | |
struct | BlendDescriptor |
a structor to store blend descriptor More... | |
class | VertexLayout |
Store vertex attribute layout. More... | |
Enumerations | |
enum | PixelFormat { AUTO, BGRA8888, RGBA8888, RGB888, RGB565, A8, I8, AI88, RGBA4444, RGB5A1, PVRTC4, PVRTC4A, PVRTC2, PVRTC2A, ETC, S3TC_DXT1, S3TC_DXT3, S3TC_DXT5, ATC_RGB, ATC_EXPLICIT_ALPHA, ATC_INTERPOLATED_ALPHA, MTL_B5G6R5 } |
Possible texture pixel formats. More... | |
Command used to render one or more Triangles, which is similar to QuadCommand.
Every TrianglesCommand will have generate material ID by give textureID, glProgramState, Blend function if the material id is the same, these TrianglesCommands could be batched to save draw call.
enum PixelFormat |
Possible texture pixel formats.