<ProgramConstantInfo> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32CopyCopies the <ProgramConstantInfo> parameters from the source to the destination.
uint64GetTotalSizeReturns the total size in bytes of the shader constant represented by the <ProgramConstantInfo> object.
int32HasBadLocationReturns true if the shader constant has a location of -1.
int32HasBadOffsetReturns true if the buffer variable has an offset of -1.
int32IsArrayReturns true if the shader constant is an array.
int32IsArrayIndexValidReturns true if the array index is valid.
int32IsIndexValidReturns true if the shader constant index is valid.
int32IsMatrixReturns true if the shader constant is a matrix.
int32IsMemberOfTopLevelArrayReturns true if the shader variable is a member of a top-level array, which means it is not stored in a nested declaration. For example: a member of a shader buffer or uniform buffer declared directly inside the shader buffer or uniform buffer, and not inside an instance of a struct.
int32IsMemberOfTopLevelUnsizedArrayReturns true if the shader variable is a member of a top-level array and is unsized. This will only be true if the shader is the last item in a shader buffer and the last array declaration is unsized.
int32IsOffsetSizeValidReturns true if the shader constant offset size is valid.
int32IsOffsetValidReturns true if the shader constant offset is valid.
int32IsPartOfBufferReturns true if the shader constant is part of a shader buffer or uniform buffer.
int32IsSizeValidReturns true if the shader constant size is valid.
int32IsTypeValidReturns true if the shader constant type is valid.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Str>NameGets or sets the shader constant name.
<Str>TypeCodeReturns an OpenGL type code (a value from glext.h) representing the OpenGL type of the constant.
<Str>TypeNameReturns the OpenGL type name of the variable such as vec4 or uint or mat4x4.
int32ArrayStrideGets or sets the shader constant array stride.
int32BufferBindingGets or sets the shader constant buffer binding point.
int32BufferIndexGets or sets the shader constant buffer index.
int32BufferTypeGets or sets the shader buffer type.
int32ColMajorGets or sets the shader constant column major flag.
int32ColsGets or sets the shader constant column count.
int32ColumnsGets or sets the shader constant column count.
int32IndexGets or sets the shader constant index.
int32LocationGets or sets the shader constant location.
int32MatrixStrideGets or sets the shader constant stride for matrix constants.
int32OffsetGets or sets the shader constant offset.
int32RowMajorGets or sets the shader constant row major flag.
int32RowsGets or sets the shader constant row flag.
int32SizeGets or sets the shader constant size.
int32TopLevelArraySizeReturns the size of the top level array.
int32TopLevelArrayStrideReturns the stride of the top level array.
int32TypeGets or sets the shader constant type.
int32TypeSizeGets or sets the shader constant type size.