API Reference > Classes > PRC Graphical Classes > OdPrcTextureDefinition Class
OdPrcTextureDefinition Class
OdPrcTextureDefinitionOdPrcTextureDefinitionOdPrcTextureDefinition
Syntax
C++
class OdPrcTextureDefinition : public OdPrcReferencedBase;

PrcTextureDefinition.h

 

Class representing a group of texture parameters used in a texture application.

 
Name 
Description 
 
Destroys an instance of a PRC entity. 
OdPrcTextureDefinition Class
 
Name 
Description 
 
Destroys the texture definition object. 
 
Name 
Description 
 
This is the overview for the attributeData method overload. 
 
Returns the OdGsCache object currently assigned to the PRC entity. 
 
id 
Returns the PRC entity ID. 
 
Returns whether the PRC entity is persistent (true) or not (false). 
 
name 
This is the overview for the name method overload. 
 
Returns the type of the PRC entity. 
 
Assigns the specified OdGsCache to the PRC entity.
 
OdPrcReferencedBase Class
 
Name 
Description 
 
Returns the current CAD identifier for the PRC object. 
 
Returns the current persistent CAD identifier for the PRC object. 
 
Returns an explicit unique name for "this" entity that can be referenced through PDF or JavaScript. In the case of error, it returns an empty string.
 
 
id 
Returns the current object identifier for the object. 
 
Returns true if the object is persistent or false in the other case. 
 
Returns the PRC object identifier. 
 
Sets a new CAD identifier value for the PRC object.  
 
Sets a new persistent CAD identifier value for the PRC object.  
 
Sets a new PRC object identifier.  
OdPrcTextureDefinition Class
 
Name 
Description 
 
Returns the current alpha value. 
 
Returns the current value of the alpha test. 
 
Returns the current threshold value for the alpha test. 
 
Returns the current value of the blend destination of alpha color components. 
 
Returns the current value of the blend destination of RGB color components. 
 
Returns the current value of the blend source of alpha color components. 
 
Returns the current value of the blend source of RGB color components. 
 
blue 
Returns the current blue color component value. 
 
Returns the current green color component value. 
 
Checks if there is transformation data used in the texture definition.
 
 
This is the overview for the picture method overload. 
 
red 
Returns the current red color component value. 
 
Removes transformation data from the texture definition. 
 
Sets a new alpha value.
 
 
Sets a new value of the alpha test. Reserved for future use.
 
 
Sets a new threshold value for the alpha test.
 
 
Sets a new value of the blend destination alpha color components. Reserved for future use.
 
 
Sets a new value of the blend destination of RGB color components. Reserved for future use.
 
 
Sets a new value of the blend source of alpha color components. Reserved for future use.
 
 
Sets a new value of the blend source of RGB color components. Reserved for future use.
 
 
Sets a new blue color component value.
 
 
Sets a new green color component value.
 
 
Sets a new red color component value.
 
 
Sets a new texture applying mode.
 
 
Sets a new texture dimension value. Generally the texture dimension can accept the following three integer values: 1, 2, 3, but in the current implementation there is only one acceptable value for the texture dimension: 2. Values 1 and 3 are reserved for future use.
 
 
Sets a new texture function value.
 
 
Sets new texture mapping attributes. Texture mapping attributes are stored in a bit field which is used to represent an applying procedure for the texture.
 
 
Sets a new value of the repeating mode in the W direction.
 
 
Sets a new value of the repeating mode in the U direction.
 
 
Sets a new value of the repeating mode in the V direction.
 
 
Returns the current texture applying mode. 
 
Returns the current texture dimension value. 
 
Returns the current texture function value.
 
 
Returns the current texture mapping attributes. 
 
This is the overview for the textureMappingAttributesComponents method overload. 
 
This is the overview for the textureMappingAttributesIntensities method overload. 
 
This is the overview for the textureMappingType method overload. 
 
This is the overview for the textureTransformation method overload. 
 
Returns the current value of the repeating mode in the V direction. 
 
Returns the current value of the repeating mode in the U direction. 
 
Returns the current value of the repeating mode in the V direction. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.