载入中...
搜索中...
未找到
eve::graphics::ShaderResourceInputs结构体 参考

Inputs for descriptor set 1 of a resource mesh program. 更多...

#include <ShaderResources.h>

Public 属性

std::span< const ShaderImageInput > images
 
std::span< const std::byte > constants
 
std::span< const std::byte > instanceMatrices
 Optional immutable column-major float32 affine mat4 records, set 1 binding 33. @ownership Caller bytes are borrowed only during synchronous upload and copied.
 

详细描述

Inputs for descriptor set 1 of a resource mesh program.

Image bindings are unique in [0,31]; optional std140 uniform bytes use binding 32. Images/constant bytes become immutable GPU-owned copies. @ownership The caller owns every input span through the synchronous call.

在文件 ShaderResources.h 第 67 行定义.

类成员变量说明

◆ constants

std::span<const std::byte> eve::graphics::ShaderResourceInputs::constants

在文件 ShaderResources.h 第 69 行定义.

◆ images

std::span<const ShaderImageInput> eve::graphics::ShaderResourceInputs::images

在文件 ShaderResources.h 第 68 行定义.

◆ instanceMatrices

std::span<const std::byte> eve::graphics::ShaderResourceInputs::instanceMatrices

Optional immutable column-major float32 affine mat4 records, set 1 binding 33. @ownership Caller bytes are borrowed only during synchronous upload and copied.

Vertex-only readonly std430 storage; finite invertible transforms, at most 64 MiB. Empty preserves the ordinary non-instanced program ABI.

在文件 ShaderResources.h 第 75 行定义.


该结构体的文档由以下文件生成: