|
Axmol 3.0.0-89d6d9a
|
Classes | |
| class | BufferManager |
| A static class to manage BufferMTL Schedule next available buffer at the beginning of frame for the render pass. More... | |
| class | BufferImpl |
| Used to store vertex and index data data. More... | |
| class | DepthStencilStateImpl |
| A class represent a depth/stencil test status. More... | |
| class | GraphicsContextImpl |
| Store encoded commands for the GPU to execute. More... | |
| class | GraphicsDeviceImpl |
| Create resources from MTLDevice. More... | |
| class | GraphicsPipelineImpl |
| Create and compile a new MTLRenderPipelineState object synchronously. More... | |
| class | ProgramImpl |
| A metal Program. More... | |
| class | ShaderModuleImpl |
| To Create a vertex or fragment shader. More... | |
| class | TextureImpl |
| The texture implementation supports 2D, cubemap, and 2D array textures. More... | |
| struct | UtilsMTL |
| create and manager default depth and stencil attachment. More... | |
Functions | |
| static MTLPixelFormat | toMTLPixelFormat (PixelFormat textureFormat) |
| Convert rhi::PixelFormat to MTLPixelFormat. | |
| static void | generateMipmaps (id< MTLTexture > texture) |
| Generate a complete set of mipmaps in given texture. | |
| static void | swizzleImage (unsigned char *image, size_t width, size_t height, MTLPixelFormat format) |
| Swizzle the iamge form the given format to MTLPixelFormatRGBA8Unorm. | |
|
static |
Convert rhi::PixelFormat to MTLPixelFormat.
| textureFormat | Specifies a pixel format to be converted. |
|
static |
Generate a complete set of mipmaps in given texture.
| texture | Specifies a texture to generate mipmap. |
|
static |
Swizzle the iamge form the given format to MTLPixelFormatRGBA8Unorm.
| image | Specifies the image to be swizzled. |
| width | Specifies the width of the image. |
| heigth | Specifies the height of the image. |
| format | Specifies the format of the image. |