30 if (desc.DefaultValue && desc.Size > 0)
84 output <<
"name = " <<
mDesc.
name << std::endl;
87 output <<
"flags = " <<
mDesc.
flags << std::endl;
91 output <<
"textureStart = -1" << std::endl;
101 output <<
"samplerStart = -1" << std::endl;
109 output <<
"default value = ";
113 output << std::hex << std::endl;
117 unsigned int hc =
static_cast<unsigned int>(
c);
118 output <<
"0x" << std::setw(2) << std::setfill(
'0') << hc;
unsigned int textureStart
std::vector< unsigned char > const & GetDefaultValue() const
unsigned int GetTextureStart() const
unsigned int GetFlags() const
unsigned int samplerStart
#define D3D_SHADER_VARIABLE_DESC
unsigned int GetSamplerStart() const
GLsizei const GLchar *const * string
unsigned int GetSamplerNumSlots() const
unsigned int GetNumBytes() const
unsigned int samplerNumSlots
void SetDescription(D3D_SHADER_VARIABLE_DESC const &desc)
std::string const & GetName() const
unsigned int textureNumSlots
void Print(std::ofstream &output) const
unsigned int GetTextureNumSlots() const
void Memcpy(void *target, void const *source, size_t count)
unsigned int GetOffset() const
std::vector< unsigned char > defaultValue