![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
Public Member Functions | |
ComputeShader (std::string source) | |
void | Bind () |
void | SetUniformf (std::string name, float value) |
void | SetUniform3f (std::string name, float *value) |
void | SetUniformi (std::string name, int value) |
void | SetUniformMat4 (std::string name, glm::mat4 &value) |
void | SetVec3 (std::string name, float a, float b, float c) |
void | Unbind () |
void | Dispatch (int x, int y, int z) |
void | SetMemoryBarrier () |
int | GetNativeShader () |
Public Attributes | |
int | m_Shader |
int | m_UniformId |
int | m_LightPosUniformID |
int | m_LightColUniformID |
int | m_TimeUniformID |
std::unordered_map< std::string, uint32_t > | uniformLocations |
int | maxWorkGroupCount [3] |
int | maxWorkGroupSize [3] |
int | maxWorkGroupInvocations |
Definition at line 7 of file ComputeShader.h.