ngfx::MTLGraphicsPipeline

Inherits from ngfx::GraphicsPipeline, ngfx::Pipeline

Public Classes

Name
struct Shaders

Public Functions

Name
void create(MTLGraphicsContext * ctx, const State & state, MTLVertexDescriptor * vertexDescriptor, const Shaders & shaders, ::MTLPixelFormat colorFormat, ::MTLPixelFormat depthFormat)
virtual ~MTLGraphicsPipeline()

Public Attributes

Name
id< MTLRenderPipelineState > mtlPipelineState
id< MTLDepthStencilState > mtlDepthStencilState
MTLRenderPipelineReflection * reflection
::MTLPrimitiveType mtlPrimitiveType
::MTLCullMode mtlCullMode
::MTLWinding mtlFrontFaceWinding

Additional inherited members

Public Classes inherited from ngfx::GraphicsPipeline

Name
struct Descriptor
struct State

Public Functions inherited from ngfx::GraphicsPipeline

Name
virtual ~GraphicsPipeline()
void getBindings(std::vector< uint32_t * > pDescriptorBindings, std::vector< uint32_t * > pVertexAttribBindings)

Public Attributes inherited from ngfx::GraphicsPipeline

Name
std::vector< uint32_t > descriptorBindings
std::vector< uint32_t > vertexAttributeBindings

Public Functions inherited from ngfx::Pipeline

Name
virtual ~Pipeline()

Public Functions Documentation

function create

void create(
    MTLGraphicsContext * ctx,
    const State & state,
    MTLVertexDescriptor * vertexDescriptor,
    const Shaders & shaders,
    ::MTLPixelFormat colorFormat,
    ::MTLPixelFormat depthFormat
)

function ~MTLGraphicsPipeline

inline virtual ~MTLGraphicsPipeline()

Public Attributes Documentation

variable mtlPipelineState

id< MTLRenderPipelineState > mtlPipelineState;

variable mtlDepthStencilState

id< MTLDepthStencilState > mtlDepthStencilState;

variable reflection

MTLRenderPipelineReflection * reflection;

variable mtlPrimitiveType

::MTLPrimitiveType mtlPrimitiveType;

variable mtlCullMode

::MTLCullMode mtlCullMode;

variable mtlFrontFaceWinding

::MTLWinding mtlFrontFaceWinding;

Updated on 3 April 2021 at 20:21:51 PDT