Class GPUShaderProgram
Mini program that can run on the GPU.
Inheritance
GPUShaderProgram
Assembly: FlaxEngine.dll
File: Engine/Graphics/Shaders/GPUShaderProgram.h
Syntax
public class GPUShaderProgram
Constructors
~GPUShaderProgram()
Fields
_bindings
_flags
_name
_owner
Methods
GetBindings()
Gets the shader resource bindings.
Declaration
public ShaderBindings GetBindings() const
Returns
ShaderBindings
|
GetBufferHandle()
Gets buffer handle (platform dependent).
Declaration
public virtual void* GetBufferHandle() const = 0
Returns
void
|
GetBufferSize()
Gets buffer size (in bytes).
Declaration
public virtual uint32 GetBufferSize() const = 0
Returns
uint32
|
GetFlags()
GetName()
GetStage()
Gets shader program stage type.
Declaration
public virtual ShaderStage GetStage() const = 0
Returns
ShaderStage
|
Init(const GPUShaderProgramInitializer& initializer)
Declaration
protected void Init(const GPUShaderProgramInitializer& initializer)
Parameters
GPUShaderProgramInitializer
initializer
|