The abstract Texture node class. More...

#include "murl_graph_texture.h"

Inheritance diagram for Murl::Graph::Texture:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Public Member Functions inherited from Murl::Graph::ITexture
virtual IImageResourceTargetGetImageResourceTarget ()=0
 Get a mutable Graph::IImageResourceTarget container. More...
 
virtual const IImageResourceTargetGetImageResourceTarget () const =0
 Get a constant Graph::IImageResourceTarget container. More...
 
virtual Bool SetVideoStream (IEnums::TextureTarget target, UInt32 layer, IVideoStream *stream)=0
 Manually set a video stream for a given layer and target. More...
 
virtual Bool SetVideoStream (IEnums::TextureTarget target, IVideoStream *stream)=0
 Manually set a video stream for layer 0 and a given target. More...
 
virtual IVideoStreamGetVideoStream (IEnums::TextureTarget target, UInt32 layer) const =0
 Get the video stream for a given layer and target. More...
 
virtual IVideoStreamGetVideoStream (IEnums::TextureTarget target) const =0
 Get the video stream for layer 0 and a given target. More...
 
virtual Bool SetType (IEnums::TextureType type)=0
 Set the texture type. More...
 
virtual IEnums::TextureType GetType () const =0
 Get the texture type. More...
 
virtual Bool SetNumberOfLayers (UInt32 numLayers)=0
 Set the number of texture layers. More...
 
virtual UInt32 GetNumberOfLayers () const =0
 Get the number of texture layers. More...
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The abstract Texture node class.

XML Elements

XML Graph Node Attributes:

sizeX="0" [UInt32]

The width of the texture in pixels. See Murl::Graph::ITexture::SetSize().

sizeY="0" [UInt32]

The height of the texture in pixels. See Murl::Graph::ITexture::SetSize().

autoScaleFactorX="0.0" [Real]

The auto scale factor in horizontal direction. See Murl::Graph::ITexture::SetAutoScaleFactor().

autoScaleFactorY="0.0" [Real]

The auto scale factor in vertical direction. See Murl::Graph::ITexture::SetAutoScaleFactor().

useAlpha="true" [Bool]

This is a hint whether the texture should choose a pixel format with or without alpha channel when no explicit pixel format is specified. See Murl::Graph::ITexture::SetAlphaEnabled().

mipMapGenerationMode="DEFAULT" [IEnums::MipMapGenerationMode]

The mip map generation mode. See Murl::Graph::ITexture::SetMipMapGenerationMode().

useMipMaps="true" [Bool]

Enable/disable the use of mip maps. See Murl::Graph::ITexture::SetMipMappingEnabled().

usePrescale="true" [Bool]

If true, the actual texture dimensions will be reduced according prescale factor set in the global IConfiguration. See Murl::Graph::ITexture::SetPrescalingEnabled().

pixelFormat="UNDEFINED" [IEnums::PixelFormat]

Sets an explicit pixel format for this texture. See Murl::Graph::ITexture::SetPixelFormat().

wrapModeX="REPEAT" [IEnums::TextureWrapMode]

The texure's wrap mode in X direction. See Murl::Graph::ITexture::SetWrapModeX().

wrapModeY="REPEAT" [IEnums::TextureWrapMode]

The texure's wrap mode in Y direction. See Murl::Graph::ITexture::SetWrapModeY().

wrapModeZ="CLAMP_TO_EDGE" [IEnums::TextureWrapMode]

The texure's wrap mode in Z direction. See Murl::Graph::ITexture::SetWrapModeZ().

magFilter="LINEAR" [IEnums::TextureFilter]

The filter used for magnification. Valid values are restricted to "NEAREST" and "LINEAR". See Murl::Graph::ITexture::SetMagFilter().

minFilter="LINEAR" [IEnums::TextureFilter]

The filter used for minification. Valid values are restricted to "NEAREST" and "LINEAR". See Murl::Graph::ITexture::SetMinFilter().

mipFilter="LINEAR" [IEnums::TextureFilter]

The filter used for mip-level selection. See Murl::Graph::ITexture::SetMipFilter().

depthTestMode="NONE" [IEnums::DepthTestMode]

The depth test mode used when the pixel format defines a depth texture. See Murl::Graph::ITexture::SetDepthTestMode().

depthTestFunction="LESS_OR_EQUAL" [IEnums::DepthTestFunction]

The depth test function used when the pixel format defines a depth texture. See Murl::Graph::ITexture::SetDepthTestFunction().

maxAnisotropy="0.0" [Real]

The maximum texture filter anisotropy. See Murl::Graph::ITexture::SetMaxAnisotropy().

slot="0" [SInt32]

The slot index to which the texture gets temporarily assigned during traversal of its children, in the range from 0 to Murl::IEnums::NUM_TEXTURE_SLOTS-1. See Murl::Graph::IStateSlot::SetSlot().

unit="0" [UInt32]

The unit index to which the texture gets temporarily assigned during traversal of its children, in the range from 0 to Murl::IEnums::NUM_TEXTURE_UNITS-1. See Murl::Graph::IStateUnit::SetUnit().


The documentation for this class was generated from the following file:
  • murl_graph_texture.h


Copyright © 2011-2024 Spraylight GmbH.