HC_Show_Shader_Texture_Def_Size
-
bool
HC_Show_Shader_Texture_Def_Size(Key texture_key, int *name_size, int *width, int *height, int *depth, int *array_size, int *format_size, int *options_size, int *data_slice_size) - bool HC_Show_Shader_Texture_Def_Size(Key texture_key, int name_size, int width, int height, int depth, int array_size, int format_size, int options_size, int data_slice_size)
Returns the size information for the shader texture definition.
HC_Define_Shader_Texture, HC_Show_Shader_Texture_DefParameters
texture_key: The key of the texture, returned by Define_Shader_Texture.
name_size: The size of the texture name, in bytes. May be null if value is not needed. Returned to the user.
width: The width of the texture. May be null if value is not needed. Returned to the user.
height: The height of the texture. May be null if value is not needed. Returned to the user.
depth: The depth of the texture. May be null if value is not needed. Returned to the user.
array_size: The array size of the texture. May be null if value is not needed. Returned to the user.
format_size: The size of the texture format, in bytes. May be null if value is not needed. Returned to the user.
options_size: The size of the texture options, in bytes. May be null if value is not needed. Returned to the user.
data_slice_size: The size of a texture slice (width * height * depth * format_byte_size), in bytes. May be null if value is not needed. Returned to the user.
Returns
True if the returned data is valid. Otherwise, will return false.