|
| HlmsComputeJob (IdString name, Hlms *creator, const String &sourceFilename, const StringVector &includedPieceFiles) |
|
virtual | ~HlmsComputeJob () |
|
void | _calculateNumThreadGroupsBasedOnSetting () |
| INTERNAL USE.
|
|
ShaderParams * | _getShaderParams (IdString key) |
| Gets a shader parameter with the given key.
|
|
void | _setSamplerblock (uint8 slotIdx, const HlmsSamplerblock *refParams) |
| Sets a samplerblock directly.
|
|
void | _setUavBuffer (uint8 slotIdx, UavBufferPacked *uavBuffer, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0) |
| Sets an UAV buffer at the given slot ID.
|
|
void | _setUavTexture (uint8 slotIdx, TexturePtr &texture, int32 textureArrayIndex, ResourceAccess::ResourceAccess access, int32 mipmapLevel, PixelFormat pixelFormat) |
| Sets an UAV texture.
|
|
void | _updateAutoProperties (void) |
|
HlmsComputeJob * | clone (const String &cloneName) |
|
void | cloneTo (HlmsComputeJob *dstJob) |
|
void | createShaderParams (IdString key) |
| Creates a set of shader paramters with a given key, e.g.
|
|
Hlms * | getCreator (void) const |
|
IdString | getName (void) const |
|
size_t | getNumTexUnits (void) const |
|
const uint32 * | getNumThreadGroups (void) const |
|
uint32 | getNumThreadGroupsX (void) const |
|
uint32 | getNumThreadGroupsY (void) const |
|
uint32 | getNumThreadGroupsZ (void) const |
|
size_t | getNumUavUnits (void) const |
|
int32 | getProperty (IdString key, int32 defaultVal=0) const |
|
ShaderParams & | getShaderParams (IdString key) |
| Gets a shader parameter with the given key.
|
|
const TexturePtr & | getTexture (uint8 slotIdx) const |
|
const uint32 * | getThreadsPerGroup (void) const |
|
uint32 | getThreadsPerGroupX (void) const |
|
uint32 | getThreadsPerGroupY (void) const |
|
uint32 | getThreadsPerGroupZ (void) const |
|
UavBufferPacked * | getUavBuffer (uint8 slotIdx) const |
|
const TexturePtr & | getUavTexture (uint8 slotIdx) const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
void | removePiece (IdString pieceName) |
| Removes an existing piece.
|
|
void | removeTexUnit (uint8 slotIdx) |
| Destroys a given texture unit, displacing all the higher tex units.
|
|
void | removeUavUnit (uint8 slotIdx) |
| Destroys a given texture unit, displacing all the higher tex units.
|
|
void | setConstBuffer (uint8 slotIdx, ConstBufferPacked *constBuffer) |
| Sets a const/uniform bufferat the given slot ID.
|
|
void | setInformHlmsOfTextureData (bool bInformHlms) |
| The Hlms has the ability to pass data to the shader source code via its syntax system to add hardcoded values.
|
|
void | setNumTexUnits (uint8 numSlots) |
| Creates 'numSlots' number of slots before they can be set.
|
|
void | setNumThreadGroups (uint32 numThreadGroupsX, uint32 numThreadGroupsY, uint32 numThreadGroupsZ) |
| Sets the number of groups of threads to dispatch.
|
|
void | setNumThreadGroupsBasedOn (ThreadGroupsBasedOn source, uint8 texSlot, uint8 divisorX, uint8 divisorY, uint8 divisorZ) |
| Instead of calling setNumThreadGroups, Ogre can automatically deduce them based on the Texture resolution and the threads per group.
|
|
void | setNumUavUnits (uint8 numSlots) |
| Creates 'numSlots' number of slots before they can be set.
|
|
void | setPiece (IdString pieceName, const String &pieceContent) |
| Defines a piece, i.e.
|
|
void | setProperty (IdString key, int32 value) |
| Sets an arbitrary property to pass to the shader.
|
|
void | setSamplerblock (uint8 slotIdx, const HlmsSamplerblock &refParams) |
| Sets a samplerblock based on reference parameters.
|
|
void | setTexBuffer (uint8 slotIdx, TexBufferPacked *texBuffer, size_t offset=0, size_t sizeBytes=0) |
| Sets a texture buffer at the given slot ID.
|
|
void | setTexture (uint8 slotIdx, TexturePtr &texture, const HlmsSamplerblock *refParams=0) |
| Sets a texture buffer at the given slot ID.
|
|
void | setThreadsPerGroup (uint32 threadsPerGroupX, uint32 threadsPerGroupY, uint32 threadsPerGroupZ) |
| Sets the number of threads per group.
|
|