Panda3D
Public Member Functions | Public Attributes | List of all members
Shader::ShaderPtrData Struct Reference

Public Member Functions

 ShaderPtrData (const PTA_float &ptr)
 
 ShaderPtrData (const PTA_LVecBase4f &ptr)
 
 ShaderPtrData (const PTA_LVecBase3f &ptr)
 
 ShaderPtrData (const PTA_LVecBase2f &ptr)
 
 ShaderPtrData (const PTA_LMatrix4f &mat)
 
 ShaderPtrData (const PTA_LMatrix3f &mat)
 
 ShaderPtrData (const LVecBase4f &vec)
 
 ShaderPtrData (const LVecBase3f &vec)
 
 ShaderPtrData (const LVecBase2f &vec)
 
 ShaderPtrData (const LMatrix4f &mat)
 
 ShaderPtrData (const LMatrix3f &mat)
 
 ShaderPtrData (const PTA_double &ptr)
 
 ShaderPtrData (const PTA_LVecBase4d &ptr)
 
 ShaderPtrData (const PTA_LVecBase3d &ptr)
 
 ShaderPtrData (const PTA_LVecBase2d &ptr)
 
 ShaderPtrData (const PTA_LMatrix4d &mat)
 
 ShaderPtrData (const PTA_LMatrix3d &mat)
 
 ShaderPtrData (const LVecBase4d &vec)
 
 ShaderPtrData (const LVecBase3d &vec)
 
 ShaderPtrData (const LVecBase2d &vec)
 
 ShaderPtrData (const LMatrix4d &mat)
 
 ShaderPtrData (const LMatrix3d &mat)
 
 ShaderPtrData (const PTA_int &ptr)
 
 ShaderPtrData (const PTA_LVecBase4i &ptr)
 
 ShaderPtrData (const PTA_LVecBase3i &ptr)
 
 ShaderPtrData (const PTA_LVecBase2i &ptr)
 
 ShaderPtrData (const LVecBase4i &vec)
 
 ShaderPtrData (const LVecBase3i &vec)
 
 ShaderPtrData (const LVecBase2i &vec)
 
void read_datagram (DatagramIterator &source)
 Reads the object from a Datagram. More...
 
void write_datagram (Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file. More...
 

Public Attributes

void * _ptr
 
size_t _size
 
ShaderPtrType _type
 
bool _updated
 

Detailed Description

Definition at line 355 of file shader.h.

Member Function Documentation

◆ read_datagram()

void Shader::ShaderPtrData::read_datagram ( DatagramIterator source)
inline

Reads the object from a Datagram.

Definition at line 663 of file shader.I.

References DatagramIterator::get_uint32(), and DatagramIterator::get_uint8().

◆ write_datagram()

void Shader::ShaderPtrData::write_datagram ( Datagram dg) const
inline

Writes the contents of this object to the datagram for shipping out to a Bam file.

Definition at line 636 of file shader.I.

References Datagram::add_uint32(), and Datagram::add_uint8().


The documentation for this struct was generated from the following files: