|
API Documentation
|
|
|
virtual void setLodLevels(float min, float max)=0
virtual float getBorderColorG() const =0
Main interface with the component system.
Definition: System.h:14
virtual void setBorderColorB(float value)=0
virtual COMPARISON_FUNCTION getComparisonFunction() const =0
virtual void setMipMapBias(float value)=0
virtual float getBorderColorB() const =0
nkMemory::StringView getFilteringAsString() const
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
virtual TEXTURE_ADDRESS_MODE getAddressModeU() const =0
nkMemory::StringView getAddressModeUAsString() const
virtual void setFilterMethod(FILTER value)=0
void setAddressModeWFromString(nkMemory::StringView value)
virtual float getMipBias() const =0
static nkMemory::UniquePtr< Sampler > create(System *system=nullptr)
void setAddressModeUFromString(nkMemory::StringView value)
virtual void setAddressModeU(TEXTURE_ADDRESS_MODE value)=0
virtual void setBorderColorR(float value)=0
virtual TEXTURE_ADDRESS_MODE getAddressModeW() const =0
virtual void setMaxAnisotropy(unsigned int value)=0
virtual TEXTURE_ADDRESS_MODE getAddressModeV() const =0
virtual float getBorderColorA() const =0
virtual void resetToDefault()=0
void setComparisonFuncFromString(nkMemory::StringView value)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
void setAddressModeVFromString(nkMemory::StringView value)
virtual unsigned int getMaxAnisotropy() const =0
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
virtual float getBorderColorR() const =0
nkMemory::StringView getAddressModeVAsString() const
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
virtual float getMinLodLevel() const =0
void setFilterMethodFromString(nkMemory::StringView value)
Holds all the information needed of a sampler used during rendering.
Definition: Sampler.h:14
virtual FILTER getFiltering() const =0
virtual void setAddressModeW(TEXTURE_ADDRESS_MODE value)=0
virtual float getMaxLodLevel() const =0
virtual void importClassFromTree(nkExport::Node *rootNode) override
Base class for a resource in the component.
Definition: Resource.h:12
virtual void setBorderColorA(float value)=0
TEXTURE_ADDRESS_MODE
Available address mode for the samplers.
Definition: TextureAddressMode.h:12
FILTER
Available filtering methods a sampler can use, when magnifying or minifying during sampling.
Definition: Filter.h:12
nkMemory::StringView getAddressModeWAsString() const
virtual void setBorderColorG(float value)=0
virtual void setBorderColors(float r, float g, float b, float a)=0
virtual void setComparisonFunction(COMPARISON_FUNCTION value)=0
COMPARISON_FUNCTION
Available comparison functions available during sampling (for samplers, and depth stencil states).
Definition: ComparisonFunction.h:12
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
virtual void exportClassToTree(nkExport::Node *rootNode) override
virtual void setAddressModeV(TEXTURE_ADDRESS_MODE value)=0
nkMemory::StringView getComparisonFuncAsString() const