|
API Documentation
|
|
|
251 virtual bool load ()
override ;
Holds all informations related to GPU programs, and manages their compilation.
Definition: Program.h:14
const ProgramSourcesHolder & getMemory() const
virtual bool loadFromMemory()=0
Main interface with the component system.
Definition: System.h:14
unsigned int getId() const
void setActivateCrossCompilerDefines(bool value)
void setFromFiles(nkMemory::StringView folder)
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
A view over data.
Definition: BufferView.h:18
bool prepareMemoryWithFiles()
PROGRAM_TYPE
The type of programs available.
Definition: ProgramType.h:12
virtual void unload() override
virtual void setDefines(const ProgramSourcesHolder &memory)
virtual bool tryToLoadFrom(ProgramSourcesHolder &newMemory)=0
Holds information about a complation result, from a program.
Definition: ProgramCompilationResult.h:12
void setId(unsigned int id)
PROGRAM_TYPE getType() const
const ProgramCompilationResult & getLastCompilationResult() const
nkMemory::BufferView< const ProgramSemanticEntry > getInputSemantics() const
void setFileExtensions(nkMemory::StringView value)
virtual void importClassFromTree(nkExport::Node *rootNode) override
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
bool isFromMemory() const
Program(System *system) noexcept
virtual void exportClassToTree(nkExport::Node *rootNode) override
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
static nkMemory::UniquePtr< Program > create(System *system=nullptr)
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Holds the sources of a program.
Definition: ProgramSourcesHolder.h:26
Base class for a resource in the component.
Definition: Resource.h:12
virtual void setFromMemory(const ProgramSourcesHolder &memory)
virtual bool load() override
PROGRAM_COMPILATION_PROFILE
Available program compilation profiles.
Definition: DxDefinesWrapper.h:460
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
PROGRAM_COMPILATION_PROFILE getProfile() const
void setProfile(PROGRAM_COMPILATION_PROFILE profile)