ShaderBlobDesc

A structure representing shader blob description information.

File location: framework/cauldron/framework/inc/render/shaderbuilder.h

Methods

Return type

Description

static ShaderBlobDesc

Vertex (const void* blobData, const uint64_t blobSize)
Convenience function to build a vertex shader blob build description.

static ShaderBlobDesc

Pixel (const void* blobData, const uint64_t blobSize)
Convenience function to build a pixel shader blob build description.

static ShaderBlobDesc

Compute (const void* blobData, const uint64_t blobSize)
Convenience function to build a compute shader blob build description.

Detailed description

A structure representing shader blob description information.

Data fields

Type

Description

const void*

pData
The shader binary to create the shader with.

uint64_t

DataSize
The size of the shader binary.

ShaderStage

Stage
The stage of the shader to build (defaults to ShaderStage::Compute).

Methods

Vertex

Copied!

static ShaderBlobDesc Vertex (const void* blobData, const uint64_t blobSize)

Convenience function to build a vertex shader blob build description.


Pixel

Copied!

static ShaderBlobDesc Pixel (const void* blobData, const uint64_t blobSize)

Convenience function to build a pixel shader blob build description.


Compute

Copied!

static ShaderBlobDesc Compute (const void* blobData, const uint64_t blobSize)

Convenience function to build a compute shader blob build description.