class ComputeShader

book_4_sparkGenerated
code_blocksInput

Description

A compute shader is a program that runs on the GPU, often with data provided to/from the CPU by means of a GpuBuffer or a Texture.

Members

Instance Members

Member NameSummary
AttributesAttributes that are passed to the compute shader on dispatch.
DispatchExecutes the compute shader with the specified number of threads in each dimension.
DispatchWithAttributesExecutes the compute shader with the specified number of threads in each dimension, using the provided render attributes.