ParamTextureImage¶
from acron.core import ParamTextureImage
- class ParamTextureImage¶
Bases:
Bases:
ParamValueBaseA class object for storing a pointer to a Texture along with a set of properties that indicates which image to bind to a shader input.
This class is useful for binding texture images to a shader, which is a fairly esoteric feature.
Inheritance diagram
digraph inheritance138ff83b6c { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ParamTextureImage" [URL="acron.core.ParamTextureImage.html#acron.core.ParamTextureImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ParamValueBase" -> "ParamTextureImage" [arrowsize=0.75,style=""]; "ParamValueBase" [URL="acron.core.ParamValueBase.html#acron.core.ParamValueBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "ParamValueBase" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- __init__()¶
Creates a new
ParamTextureImagestoring the given texture and image binding parameters.
- property bind_layer int¶
Returns the image layer that should be bound. This is undefined if
get_bind_layered()returns false.
- get_bind_layer()¶
Returns the image layer that should be bound. This is undefined if
get_bind_layered()returns false.
- get_bind_layered()¶
Returns true if all layers of this image should be bound simultaneously.
- get_bind_level()¶
Returns the image level that should be bound.
- static get_class_type()¶
- get_texture()¶
Retrieves the texture stored in the parameter.
- has_read_access()¶
Returns true if this image should be bound with read access enabled.
- has_write_access()¶
Returns true if this image should be bound with write access enabled.