public interface ShaderModel extends NamedModelElement
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShaderModel.ShaderType
Enumeration of different shader types
|
| Modifier and Type | Method and Description |
|---|---|
BufferViewModel |
getBufferViewModel()
Returns the (optional)
BufferViewModel that contains
the shader data |
java.nio.ByteBuffer |
getShaderData()
Returns the actual shader data.
|
java.lang.String |
getShaderSource()
Returns the shader source code as a string.
|
ShaderModel.ShaderType |
getShaderType()
Returns the
ShaderModel.ShaderType of this shader |
java.lang.String |
getUri()
Returns the URI of the shader data
|
getNamegetExtensions, getExtrasjava.lang.String getUri()
BufferViewModel getBufferViewModel()
BufferViewModel that contains
the shader dataBufferViewModeljava.nio.ByteBuffer getShaderData()
java.lang.String getShaderSource()
shader data
as a string.ShaderModel.ShaderType getShaderType()
ShaderModel.ShaderType of this shaderShaderModel.ShaderTypeCopyright © 2024. All Rights Reserved.