D3D11X_CERAM_PER_STAGE Structure

Defines the layout of each stage, in constant engine (CE) RAM.

Syntax

typedef struct D3D11X_CERAM_PER_STAGE {
    D3D11X_DESCRIPTOR_BUFFER_VIEW ConstantBuffers[D3D11X_MAX_CONSTANT_BUFFERS];
    D3D11X_DESCRIPTOR_TEXTURE_VIEW ShaderResourceViews[D3D11X_MAX_SHADER_RESOURCE_VIEWS];
    D3D11X_DESCRIPTOR_SAMPLER_STATE Samplers[D3D11X_MAX_SAMPLERS];
} D3D11X_CERAM_PER_STAGE;  

Members

ConstantBuffers
Constant buffers, as an array of D3D11X_DESCRIPTOR_BUFFER_VIEW structures.

ShaderResourceViews
Shader resource views, as an array of D3D11X_DESCRIPTOR_TEXTURE_VIEW structures.

Samplers
Samplers, as an array of D3D11X_DESCRIPTOR_SAMPLER_STATE structures.

Remarks

This structure is a member of the D3D11X_RESOURCE_VIEW_DESC structure.

Requirements

Header: Declared in d3d11_x.h.