Plasma Engine  2.0
Loading...
Searching...
No Matches
ShaderByteCode_inl.h
1
2
3const void* plGALShaderByteCode::GetByteCode() const
4{
5 if (m_ByteCode.IsEmpty())
6 return nullptr;
7
8 return &m_ByteCode[0];
9}
10
11plUInt32 plGALShaderByteCode::GetSize() const
12{
13 return m_ByteCode.GetCount();
14}
15
16bool plGALShaderByteCode::IsValid() const
17{
18 return !m_ByteCode.IsEmpty();
19}
bool IsEmpty() const
Returns true, if the array does not contain any elements.
Definition ArrayBase_inl.h:178
plUInt32 GetCount() const
Returns the number of active elements in the array.
Definition ArrayBase_inl.h:172