Holds the sources of a program. More...
Holds the sources of a program.
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getVertexMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getHullMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getDomainMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getGeometryMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getPixelMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getComputeMemory | ( | ) | const |
nkMemory::StringView nkGraphics::ProgramSourcesHolder::getRaytracingMemory | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosVertex | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosHull | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosDomain | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosGeometry | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosPixel | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosCompute | ( | ) | const |
const nkMemory::BufferCast<MacroEntry>& nkGraphics::ProgramSourcesHolder::getDefineMacrosRaytracing | ( | ) | const |
unsigned int nkGraphics::ProgramSourcesHolder::getDefineMacroMaxNumber | ( | ) | const |
unsigned int nkGraphics::ProgramSourcesHolder::getDefineMacroMaxNumberPipeline | ( | ) | const |
unsigned int nkGraphics::ProgramSourcesHolder::getDefineMacroNumberCompute | ( | ) | const |
unsigned int nkGraphics::ProgramSourcesHolder::getDefineMacroNumberRaytracing | ( | ) | const |
void nkGraphics::ProgramSourcesHolder::setVertexMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the vertex stage. |
void nkGraphics::ProgramSourcesHolder::setHullMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the hull stage. |
void nkGraphics::ProgramSourcesHolder::setDomainMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the domain stage. |
void nkGraphics::ProgramSourcesHolder::setGeometryMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the geometry stage. |
void nkGraphics::ProgramSourcesHolder::setPixelMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the pixel stage. |
void nkGraphics::ProgramSourcesHolder::setComputeMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the compute stage. |
void nkGraphics::ProgramSourcesHolder::setRaytracingMemory | ( | nkMemory::StringView | str | ) |
str | The sources for the raytracing stage. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroVertex | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the vertex stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroHull | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the hull stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroDomain | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the domain stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroGeometry | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the geometry stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroPixel | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the pixel stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroCompute | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the compute stage.
key | The key of the define. |
value | The value of the define. |
void nkGraphics::ProgramSourcesHolder::addDefineMacroRaytracing | ( | nkMemory::StringView | key, |
nkMemory::StringView | value | ||
) |
Adds a define macro for the raytracing stage.
key | The key of the define. |
value | The value of the define. |
bool nkGraphics::ProgramSourcesHolder::hasMinimalDefinitionsPipeline | ( | ) | const |
bool nkGraphics::ProgramSourcesHolder::hasMinimalDefinitionsCompute | ( | ) | const |
bool nkGraphics::ProgramSourcesHolder::hasMinimalDefinitionsGeometry | ( | ) | const |
bool nkGraphics::ProgramSourcesHolder::hasMinimalDefinitionsRaytracing | ( | ) | const |
void nkGraphics::ProgramSourcesHolder::copyDefinesFrom | ( | const ProgramSourcesHolder & | other | ) |
Copies the defines from one memory to another.
other | The memory from which the defines should be copied. |